var pieceTypeTestCase = {};

var PieceType = it.koutifaris._tetris.PieceType;

pieceTypeTestCase.getTestCaseName = function() {
	return "PieceType Test";
};

pieceTypeTestCase.testLength = function() {
	assertEquals(7, PieceType.values().length);

};

pieceTypeTestCase.testPieces = function() {
	assertEquals(PieceType.I, PieceType.values()[0]);
	assertEquals(PieceType.J, PieceType.values()[1]);
	assertEquals(PieceType.L, PieceType.values()[2]);
	assertEquals(PieceType.O, PieceType.values()[3]);
	assertEquals(PieceType.S, PieceType.values()[4]);
	assertEquals(PieceType.T, PieceType.values()[5]);
	assertEquals(PieceType.Z, PieceType.values()[6]);
};
